require.config({
  urlArgs: "bust=" + (new Date()).getTime(),

  // Paths are relative to baseUrl, which is javascript/<project>/scripts
  paths: {
    'lib': '../../lib',
    'common': '../../common'
  },

  shim: {
    'lib/ammo': {
      exports: 'Ammo'
    },

    'lib/Three': {
      exports: 'THREE'
    },

    'lib/physi': {
      // Physijs loads physijs_worker.js and ammo.js on its own.
      deps: ['lib/Three'],
      exports: 'Physijs'
    }
  }
});
